import request from './request.js'

// 轮播图
export function getTopBanners() {
  return request({
      url: "/banner"
  })
}

// 热推
export function getHotRecommends(limit) {
  return request({
      url: "/personalized",
      params: {
        limit
      }
  })
}

export function getNewAlbums(limit) {
  return request({
      url: "/top/album",
      params: {
        limit
      }
  })
}

export function getTopList(idx) {
  return request({
    url: '/top/list',
    params: {
      idx
    }
  })
}